#include <REGX52.H>
#include "matrix.h"
#include "LCD1602.H"

void main()
{
	char Key_num = 0;
	
	LCD_Init();
	
	LCD_ShowNum(1,1,Key_num,2);
	
	while(1)
	{	
		
		Key_num = Matrix_num();
		
		if(Key_num)
		{
			LCD_ShowNum(1,1,Key_num,2);
			
		}
		
		
		
	}
}

